function Ankhy_Rogue_1()
	ccrCastBuffIfMissing("Deadly Poison")
	ccrCastBuffIfMissing("Leeching Poison")
	--------------------------
	-- Autoaccept LFR invite
	AcceptProposal();
	--------------------------
		ccR_Rogue_AutoStealth()
		ccR_Rogue_Shadowstep()
		ccR_Rogue_AutoStealth()



		if ccrPlayerIsInStealth() then
		-- Stealth
			if ccrComboPoints() == 5
				then
				ccrCastAttack("Eviscerate")
				return
			else
				if SpellCanAttack("mutilate")
					then
					ccrCastAttack("mutilate")
					return
				end	
			end
		end
	if  ccrTargetIsBoss() then
		if SpellIsReady("Vendetta")
			and ccrPlayerIsInCombat()
				then
				ccrCastAttack("Vendetta")
				return
		else
			if SpellIsReady("Shadow Blades")
				and ccrPlayerIsInCombat()
				and ccrTargetHasMyDebuff("Vendetta")
					then
					ccrCastAttack("Shadow Blades")
					return
			end		
		end
		if onCD("Vanish")
			and SpellIsReady("Preparation")
			then 
			ccrCast("Preparation")
			return
		else
			if SpellIsReady("Vanish")
				and ccrComboPoints() == 5 and ccrPlayerHasBuff("Shadow Blades")
				then
				ccrCast("Vanish")
				return
			end
		end
	end
		
			if #tblPGetMeleeEnemies >= 8 
				then
				ccrCastAttack("Fan of Knives")
				return
			end 
			
		
			if #tblPGetMeleeEnemies >= 5  and ccR_Rogue_CheckForMissingPoison()
				then
				ccR_Rogue_ApplyMissingPoisonKnives()
				return
			end
	
		
		-- 2-3 targets
		
		if #tblPGetMeleeEnemies >= 2  and ccR_Rogue_CheckForMissingPoison()
			then
			ccR_Rogue_ApplyMissingPoisonDispatch()
			return
		else
			if #tblPGetMeleeEnemies >= 2  and ccR_Rogue_CheckForMissingPoison()
				then
				ccR_Rogue_ApplyMissingPoisonMutilate()
				return
			end
		end 
		
		

		if ccrComboPoints() == 5
			and ccrPlayerHasBuff("Slice and Dice")
			and ccrTargetHasMyDebuff("Rupture")
			and SpellCanAttack("Eviscerate")
			then
				ccrCastAttack("Eviscerate")
			return
		else	
			if not ccrPlayerHasBuff("Slice and Dice")
				and ccrComboPoints() == 5
				then
					ccrCastAttack("Slice and Dice")
				return
		else
				if not ccrTargetHasMyDebuff("Rupture")
					and SpellCanAttack("Rupture")
					and ccrComboPoints() == 5
					then
						ccrCastAttack("Rupture")
					return
		else
					if SpellIsReady("Dispatch")
						and SpellCanAttack("Dispatch")
						then
							ccrCastAttack("Dispatch")
						return
		else
						if SpellIsReady("Mutilate")
							and SpellCanAttack("Mutilate")
							then
								ccrCastAttack("Mutilate")
							return
						end
					end
				end
			end
		end
			
end	